projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
145aab0
)
Inhibit modification hooks when saving eieio-persistent's
author
Michael Heerdegen
<michael_heerdegen@web.de>
Fri, 1 May 2020 00:08:17 +0000
(
02:08
+0200)
committer
Michael Heerdegen
<michael_heerdegen@web.de>
Fri, 1 May 2020 19:16:30 +0000
(21:16 +0200)
* lisp/emacs-lisp/eieio-base.el (eieio-persistent-save): Bind
inhibit-modification-hooks -> t.
lisp/emacs-lisp/eieio-base.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/eieio-base.el
b/lisp/emacs-lisp/eieio-base.el
index 2cb1f614ce327ba24205c14bd999d2dad205a043..010a2b673e1d1856ffec33d290d407cd70257053 100644
(file)
--- a/
lisp/emacs-lisp/eieio-base.el
+++ b/
lisp/emacs-lisp/eieio-base.el
@@
-473,7
+473,8
@@
instance."
(let* ((cfn (or file (oref this file)))
(default-directory (file-name-directory cfn)))
(cl-letf ((standard-output (current-buffer))
- ((oref this file) ;FIXME: Why change it?
+ (inhibit-modification-hooks t)
+ ((oref this file) ;FIXME: Why change it?
(if file
;; FIXME: Makes a name relative to (oref this file),
;; whereas I think it should be relative to cfn.